8ebc48f02d16f2c3603bd77d10d295cb5bd6afec,http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/WhiteboardHttpService.java,WhiteboardHttpService,registerServlet,#ContextHandler#ServletInfo#,175
Before Change
servletInfo,
servlet);
try {
this.handlerRegistry.getRegistry(contextHandler.getContextInfo()).addServlet(handler);
contextHandler.addWhiteboardService(servletInfo);
} catch (final ServletException e) {
so.ungetService(servlet);
After Change
servletInfo,
servlet);
try {
final PerContextHandlerRegistry registry = this.handlerRegistry.getRegistry(contextHandler.getContextInfo());
if (registry != null )
{
registry.addServlet(handler);
contextHandler.addWhiteboardService(servletInfo);